#pragma once
#include "MouseInputSensor.h"
#include "KeyboardInputSensor.h"
#include "MovingEffector.h"
#include "IUpdateRequired.h"

namespace Behavior
{	
	using namespace Pattern;
	class BEHAVIORS_API FPController:
		public IUpdateRequired
	{	
	private:		
		MovingEffector* target;		
	public:
		MovingEffector* GetTarget() const;
		void SetTarget(MovingEffector* val);

		FPController(void);

		~FPController(void);

		virtual bool Update(double timeElapsed) override;
	};
}